#ifndef SWIPERWIDGET_H
#define SWIPERWIDGET_H

#include <QWidget>

namespace Ui {
class SwiperWidget;
}

class SwiperWidget : public QWidget
{
    Q_OBJECT

public:
    explicit SwiperWidget(QWidget *parent = 0);
    ~SwiperWidget();

private:
    Ui::SwiperWidget *ui;
    QStringList fileList;
    int fileIndex;
    void showImg();
signals:
    void swiperWidgetCloseSign(); //需要返回值 默认为int
private slots:
    void on_pushButton_clicked();
    void on_frontBtn_clicked();
    void on_nextBtn_clicked();
};

#endif // SWIPERWIDGET_H
